<?php
$conn = mysqli_connect('localhost', 'root', '123456', 'phplearn') or die('mysql数据库链接失败');
mysqli_query($conn, 'set names utf8');

// 引用函数库
include_once('functions.php');

// 开启session会话
session_start();